package com.my.demo.dao.impl;

import com.my.demo.dao.EmployeeDao;
import com.my.demo.mapper.EmployeeMapper;
import com.my.demo.pojo.Employee;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author 林允
 * @version 1.0
 * @description: TODO
 * @date 2023/5/23 20:02
 */
@Repository
public class EmployeeDaoImpl implements EmployeeDao {

    @Resource
    private EmployeeMapper employeeMapper;

    @Override
    public List<Employee> getAllEmployee() {
        return employeeMapper.getAllEmployee();
    }
}
